[GHC] #16363: Modular constant folding