avdevice/iec61883: free the private context at the end