Reduce code size when mbedtls_x509_*_info() unused

Introduce MBEDTLS_X509_INFO to indicate the availability of the
mbedtls_x509_*_info() function and closely related APIs. When this is
not defined, also omit name and description from
mbedtls_oid_descriptor_t, and omit OID arrays, macros, and types that
are entirely unused. This saves several KB of code space.

Change-Id: I056312613379890e0d70e1d08c34171287c0aa17
diff --git a/library/x509.c b/library/x509.c
index a562df7..1dae6cb 100644
--- a/library/x509.c
+++ b/library/x509.c
@@ -836,6 +836,7 @@
     return( (int) ( size - n ) );
 }
 
+#if defined(MBEDTLS_X509_INFO)
 /*
  * Helper for writing signature algorithms
  */
@@ -880,6 +881,7 @@
 
     return( (int)( size - n ) );
 }
+#endif /* MBEDTLS_X509_INFO */
 
 /*
  * Helper for writing "RSA key size", "EC key size", etc