bson: swap bytes for double on big endian.