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