Fix r_sys_pid_to_path for FreeBSD (thanks vsp)