[PATCH 5.18 223/231] s390/ap: fix error handling in __verify_queue_reservations()