Remove some cgminer.c hacks