Fix static analysis detected error regarding dead assignment

In v4lchannel.cpp, the int field is assigned a value, and
never used before a later assignment.  Move the declaration
and assignment to the code fragment where it is used (as
with some other existing variables).  This resolves the
static analysis detected error.