Fixed walk issue (TestGenericWalk)

The test TestGenericWalk was failing against snmpd on Ubuntu.  This was
caused by the last OID repeating with an EndOfMibView.  Reordered the
walk loop checks so the sanity checks are done after testing for
EndOfMibView.