avfilter/vf_drawtext: fix resource leaks

Fixes CID1206649

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>