Fix compile error with ini.cpp

The fGenerate flag is not defined in init.cpp. 

init.cpp: In function ‘void DetectShutdownThread(boost::thread_group*)’:
init.cpp:131:8: error: ‘fGenerate’ was not declared in this scope

I tried importing rpcmining.cpp that defines the flag, but it did not work. Removing the reference to the flag did solve the compile problem.
Is the flag needed? Setting GenerateBicoins to false and null does not appear to effect anything in the shutdown if the generation flag is false.