riscv: switch has_fpu() to the unified static key mechanism