test: update midifile library to ANSI C