riscv: Split early and final KASAN population functions