Fix TSEC driver: avoid crashes if PHY is not attached