gdbserver/linux: take condition out of callback in find_lwp_pid