sched/numa, mm: Revert to checking pmd/pte_write instead of VMA flags