Millimeter and X-Ray Emission from the 5 July 2012 Solar Flare