net/ixgbe/base: refactor internal PHY mode determination