removed common.h dependency for SDL.h

No function in common.c needs stuff from SDL. Adding #include <SDL.h>
also prevented non SDL project to compile.