gencpu.cpp: cleanup / compilation warning fixes
Merge pull request #28 from FrodeSolheim/gencpu

gencpu.cpp: cleanup / compilation warning fixes