[PATCH v2] LoongArch: add p?d_leaf() definitions