[PATCH 6.16 612/627] mm/hmm: move pmd_to_hmm_pfn_flags() to the respective #ifdeffery