GL_PACK_ALIGNMENT may crash the gpu module if the buffer is not aligned (See T91828).
We could put safeguards in the API to avoid crashing in these cases.
But the solution of setting the GL_PACK_ALIGNMENT to 1 might be preferable as it is less restrictive.