v.22.4Bug Fix

Fix bug causing INCORRECT_NUMBER_OF_COLUMNS error in -WithNames formats for over 256 columns

Fix bug in indexes of not presented columns in -WithNames formats that led to error INCORRECT_NUMBER_OF_COLUMNS when the number of columns is more than 256. Closes #35793. #35803 (Kruglov Pavel).