ethdev: change MAC address get function to return int