target/s390x: factor out handling of WAIT PSW into s390_handle_wait()