RISC-V: Support PCREL_* relocations agaist weak undefined symbols