USB: gadget: f_midi: fixing a possible double-free in f_midi