SIL: replace some `assert`s with `ASSERT`s
To catch those errors also in a non-assert build of the compiler.
I recently investigated a compiler crash with a non-assert compiler and would have found the root cause much faster if those asserts would have triggered.