[PATCH 6.6 117/137] s390/cpacf: Split and rework cpacf query functions