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