[PATCH 3/3] riscv: define test_and_{set,clear}_bit in asm/bitops.h