[PATCH 6.17 254/371] riscv: use an atomic xchg in pudp_huge_get_and_clear()