Android needs to be able to read a PKCS#7 blob from a Java InputStream. This change adds |BIO_read_asn1| which reads a single ASN.1 object from the start of a BIO without overreading. Change-Id: I74776e686529c8e58af1c26a4909f9bd4e87b707