pid: make setpgid() system call use RCU read-side critical section