[PATCH 6.6.y RESEND 2/2] LoongArch: Use accessors to page table entries instead of direct dereference