RISC-V: lib: minor asm cleanup