x509_crt_parse() did not increase total_failed on PEM error

Result was that PEM errors in files with multiple certificates were not
detectable by the user.
diff --git a/library/x509_crt.c b/library/x509_crt.c
index 03cdda8..7b22bc5 100644
--- a/library/x509_crt.c
+++ b/library/x509_crt.c
@@ -898,6 +898,7 @@
                 if( first_error == 0 )
                     first_error = ret;
 
+                total_failed++;
                 continue;
             }
             else