[PATCH] pid: make session_of_pgrp use struct pid instead of pid_t