freebsd: Fix setting of the mac address.

The MAC address has to be copied after the appropriate ioctl is called and
before the other ioctl that may update the result structure.