[PATCH 6.1 401/568] LoongArch: Let {pte,pmd}_modify() record the status of _PAGE_DIRTY