sim: Fix a bug in prlimit syscall in SE mode