mm-video-v4l2: enable compilation for both 3.18 kernel and 4.9 kernel

added definitions in userspace to support both
3.18 kernel and 4.9 kernel compilation.

Change-Id: If1eb2575dd80a1e6684c84e573baf78ae698bb20
13 files changed