avformat/swfdec: Fix memleak on error