Fix the pointer math and floating point conversion in alBufferData
Work around two Firefox bugs