Add mods parameter to character callback support.

Requires github.com/shurcooL/glfw on add-mods-to-char-callback branch,
currently not merged upstream.