ctdb-common: Move ctdb_get_peer_pid() to system.[ch]