v.22.8Build/Testing/Packaging Improvement

Prepare RISC-V 64 Build for CI Integration

Prepare RISC-V 64 build to run in CI. This is for #40141. #40197 (Alexey Milovidov).