Thermal-Aware Design for Approximate DNN Accelerators