Be more defensive in Qt5Network code.
It's possible, but rather unlikely, to build Qt5Network with
QT_NO_NETWORKINTERFACE, and still get around to building the
generic bearer. In that case, comment out the workaround
that needs an interface.
PR: 232784
Obtained from: Max Steciuk