Fix bigendian pointer dereference