Millimeter continuum observations of the active star-forming core of M82