[GHC] #9786: Make quot/rem/div/mod with known divisors fast