tests/avstring: free the pointer after calls to av_d2str()