toolchain: replaced CTASSERT magic with C11 _Static_assert