Introducing GLimp_GrabInput

It was taken directly from dhewm3 project and modified for htq2
and it's doing the job of grabbing/ungrabbing the mouse input from now on
with a much simpler aproach and already SDL2-compatible.