Cmm codegen for power of two division is missing narrowing for literals
While preparing a fix for #25653 I got the division tests properly detecting the issue first and stumbled upon wrong results for division by minbound for signed types.
With a newly built ghc (current master) this compiles wrong:
```hs
mb8 :: Int8# -> Int8#
mb8 i = i `quotInt8#` (intToInt8# -128#)
```
This is what current master produces:
```
movq %r14,%rax
sarb $7,%al
andb $127,%al
addb %al,%r14b
sarb $7,%r14b
movb %r14b,%bl
jmp *(%rbp)
```
The above is the result of it getting passed 128 as the divisor (I checked that manually), which gets optimized differently since its a positive power of 2. This results in `mb8 (intToInt8# -128#) = -1` instead of `1`.
The expected (but still bad) result is:
```
movsbq %r14b,%rax
imulq $127,%rax
sarq $8,%rax
subb %r14b,%al
sarb $6,%al
movq %rax,%rbx
shrb $7,%bl
addb %bl,%al
movb %al,%bl
```
It would be better if this compiled to just `== minBound`, but thats not that important right now.
issue