s390/ap: split ap queue state machine state from device state