m32r: fix pte_to_pgoff(), pgoff_to_pte() and __swp_type() macros