Fix 'unused variable' warnings

This fixes a bunch of warnings about unused variables I receive when compiling ScummVM on Mac OS X 10.8