Check for overflow when decoding OIDs