hw/ppc/spapr: Move code related to "ibm,pa-features" to a separate function