powerpc: introduce pte_get_hash_gslot() helper