[openEuler-5.10 527/557] powerpc/security: Add a helper to query stf_barrier type