[ruby-core:113892] [Ruby master Bug#19727] Backport CI fixes for test-bundled-gems