u2-common: wifimac: don't write the config if reported mac is invalid

In rare occasions, the RIL would fail to update the macAddress file which
would result in a blank MAC address being updated in the config file.
Prevent this by checking if the mac is valid before updating of writing
the config.