V4l code cleanup

Does a bit of clean up and refactor of the v4l code for linux.

Update v4l.c method for passing Tensor into c lib so as not to use deprecated torch function call.

Bug fix return values for torch entry point into the v4l library.

Tested on ARM and Ubuntu.