arm64: Fix pte_modify() to preserve the hardware dirty information