Add support for linux/riscv64. Ref: https://github.com/protocolbuffers/protobuf/pull/12244