(module_compare): Make s1 and s2 const.