Fix argument passing for call to native regexp code in simulator.