Handle wrap of 32bit and 64bit counters

Warning messages are printed to the stderr when counters exceed max value: e.g. "truncating integer value > 32 bits".

This pull request resolves this by checking if snmp object is a counter, and then wraps the value if it exceeds the max value.