Fix integer memory accesses in RegExp (64-bit)