Fix range checks with -offset and -length in asn1parse