Congruence properties of the $\Omega$-function on sumsets