alternative workaround for preventing div-by-zero constant folding

I suspect this solution isn't better.

However, `mod` & family also need some fix:

```julia
julia> f() = mod(1,0)
f (generic function with 1 method)

julia> f()
139676344777888
```