mx6: fix compilation of read_temperature