gdbserver/linux-low: replace direct assignment to current_thread Use scoped_restore_current_thread and switch_to_thread in linux_process_target::wait_for_sigstop.