[PATCH 2/4] gcc: fix build on riscv64