Initialise the stgd lock mutex earlier to prevent dereferences when pool testing occurs before it.
We can't connect to a GBT pool at all with fix protocol enabled.
Merge branch 'master' of github.com:ckolivas/cgminer