Fixes bug in mbedtls_x509_crt_parse that caused trailing extra data in the buffer following DER certificates to be included in the raw representation.