Merge "riscv64: fix ifuncs, improve the ifunc tests." into main