[ruby-core:121835] [Ruby Bug#21310] YJIT optimization causes incorrect is_a? method evaluation