[media] Fix double free of video_device in mem2mem_testdev