complete conversion of get_pid_scm to using nih_io (untested)

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>