ppc/spapr: load and store l2 state with helper functions