Make scanline byte size a multiple of 32 (as required by QImage)