Attempt to fix the patchfile_preg backend for big endian machines.