do_target_wait_1: Clear TARGET_WNOHANG if the target isn't async. Previously, TARGET_WNOHANG was cleared if a target supported async mode even if async mode wasn't currently enabled. This change only permits TARGET_WNOHANG if async mode is enabled.