Fix issue when constructing an ArrayBuffer with a floating point length