motion: Adding a patch adapted from http://www.lavrsen.dk/svn/motion/trunk to fix

the change from videodev.h to videodev2.h and a few ffmpeg related issues.