RISC-V: Fix format specifier
This commit fixes a format specifier warning in the RISC-V backend when using a GCC 15 host compiler.
The RISC-V backend code had an incorrect format specifier (%qB) in the riscv_check_target_clone_version function, which triggered a warning with GCC 15. This patch replaces the invalid format specifier with a standard alternative ($<%*s%>) to resolve the warning.
In Details
The riscv_check_target_clone_version function in config/riscv/riscv.cc validates the version string of target clones. The format specifier %qB was used incorrectly, leading to a warning during compilation with GCC 15. The fix replaces it with the correct $<%*s%> format specifier for printing string slices.
For Context
When compiling GCC itself, it's important to avoid warnings from the host compiler. This commit fixes a format specifier warning in the RISC-V backend code. The format specifier is used to format strings, and using the wrong one can lead to unexpected behavior or compiler warnings. This change ensures that the code compiles cleanly with GCC 15.