Sema: disable runtime safety checks in comptime blocks

Sometimes we emit runtime instructions in comptime scopes. These
instructions will be discarded, but they allow comptime blocks to
contain intermediate runtime-known values, which is necessary for
expressions like `runtime_array.len` to work.

Since we will always throw away these runtime instructions, including
safety checks is a time waste at best and trips an assertion at worst!

Resolves: #20064
fbbf34e563mlugg committed on 2/5/2025, 9:17:40 PMparentcac814c
2 files changedLine totals unavailable