Fix unused variables in rtMidi callback.

This code is contributed from http://www.music.mcgill.ca/~gary/rtmidi/
Callback function definition is something we cannot change