Fix plugin_unregister() leaving plugin list broken
Fix plugin_unregister() leaving plugin list broken

The global plugin list head pointer should be reset when unregistering
the last plugin.

WopsS/sampgdk,WopsS/sampgdk,Zeex/sampgdk,Zeex/sampgdk,WopsS/sampgdk,Zeex/sampgdk