Primitive encodings shouldn't use indefinite length constructed form. PR#2438 (partial). (Imported from upstream's 9223a31eb7) Change-Id: I832d0bcda491c03c799b7b70184a1a3ec16b1592
9223a31eb7