[openEuler-5.10 017/303] tools/thermal/tmon: Add cross compiling support