Fix memory allocation in midiseq.c

Reported via http://trac.jackaudio.org/ticket/249 and already fixed in
jackd2.