ASN1: fix issue with non-constructed context-specific tags

Fixes #477