Fixed using the wrong variable when reporting a missing SDL scancode mapping.

--HG--
extra : rebase_source : addd6c5ccfe203f744ba50a120ebe5a1ca77476e
Fixed compiler warning if dynamic X11 loading isn't enabled.

--HG--
extra : rebase_source : fa6d88273a5c3ab0f501f90bb98340bfedf5a086