ConstantFolding: ComputeMaskedBits wants the scalar size for vectors.

Fixes PR15791.