[PATCH 6.1 77/85] s390/cpacf: Split and rework cpacf query functions