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