ensure correct unpack alignment for uploading texture data