Backport 1.3:Set PEM buffer to zero before freeing it

Set PEM buffer to zero before freeing it, to avoid private keys
being leaked to memory after releasing it.
diff --git a/library/pem.c b/library/pem.c
index b2c16c2..76905b3 100644
--- a/library/pem.c
+++ b/library/pem.c
@@ -389,6 +389,8 @@
 
 void pem_free( pem_context *ctx )
 {
+    if ( ctx->buf != NULL )
+        polarssl_zeroize( ctx->buf, ctx->buflen );
     polarssl_free( ctx->buf );
     polarssl_free( ctx->info );