Update sgminer.c

Minor changes to variable declaration.
Should reduce the number of warnings by about 5.
Merge pull request #187 from Bllacky/patch-5

Reduce the number of warnings by about 5 (Update sgminer.c)