Fix locking invalid mutex in mlt_consumer_purge().