Remove Module::gencritsec
Merge pull request #2059 from ibuclaw/rmgencritsec

Remove Module::gencritsec