This fixes a possible shutdown crash. Thanks to @morcos for reporting.
In the case of (for example) an already-running bitcoind, the shutdown sequence begins before CConnman has been created, leading to a null-pointer dereference when g_connman->Stop() is called.