Redmine #6590: Add leaner version of Solaris MAC address detection.

Also moved it above the getifaddrs version, because Solaris 11 reports
that it has this, but we cannot actually use it to get the MAC
address, so give the SIOCGARP version priority.