`-fcheck-prim-bounds` fails to catch out-of-bounds write with `copySmallArray#` when the length isn't statically known
```haskell
{-# LANGUAGE MagicHash #-}
{-# LANGUAGE UnboxedTuples #-}
import GHC.Exts
import GHC.IO (IO(..))
main = IO $ \s0 ->
case newSmallArray# 1# () s0 of
(# s1, srcm #) ->
case unsafeFreezeSmallArray# srcm s1 of
(# s2, src #) ->
case sizeofSmallArray# src of
n# ->
case newSmallArray# 1# () s2 of
(# s3, dst #) ->
{- OOB caught:
case copySmallArray# src 0# dst 5# 1# s3 of -}
case copySmallArray# src 0# dst 5# n# s3 of
s4 -> (# s4, () #)
```
In this program, `copySmallArray#` performs an out-of-bounds write because the offset of 5 is too large for a destination array of size 1.
Despite being compiled with `-fcheck-prim-bounds`, which ought to detect the out-of-bounds write, the program runs and exits cleanly:
```
$ ghc -fcheck-prim-bounds oob.hs
$ ./oob
```
Only when the copy length `n#` is replaced with a concrete number like `1#`, the OOB write is caught:
```
$ ghc -fcheck-prim-bounds oob.hs
$ ./oob
oob: internal error: Encountered out of bounds array access.
(GHC version 9.14.1 for x86_64_unknown_linux)
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
```
Environment:
* GHC versions tested: 9.2.8, 9.14.1, 9.15.20260213
* Operating System: Ubuntu 24.04
* System Architecture: x86_64
issue