Set the "bytes per scan line" field when generating the mode info