thermal: use common device.mk Bug: 146390555 Test: run pts thermal-hal and themal-engine via forrest Change-Id: I639601456ee48000e3e3de339fa560c1f2d4a676