avformat/libsrt: fix for the memory leak if passphrase has been configured by option