cpuutils: rewrite logic of getting cpu temperature

Change-Id: I9df8f1ec88a72d437189bc711f6418bd7db13129
version: 0.2.9

Change-Id: I4c238a009e876995975e3b2f93d29757b611e607