cpuutils: add a fallback for toMHz method

in case we have an empty mhzString, we return offline.
this handles cases where the cpu frequency is empty because of offline cores

Change-Id: I48c8379c06aa7438f6f786130c7614ac24cf5765