[ruby-core:125843] [Ruby Bug#22131] Avoid array allocation in `Array#include?` on literal arrays