lsmashsource: Fix some memory leaks in LW-Libav reader.