Wait for target to stop before running agent commands

This commit fixes a bug on where agent_run_command is called on
GNU/Linux targets that may not have stopped yet.

gdb/ChangeLog:

	* linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
	Use target_stop_and_wait in place of target_stop.