pids: sys_getpgid: fix unsafe *pid usage, s/tasklist/rcu/