Avoid using %zu in selftest functions

This is a C99 feature and unfortunately we can't rely on it yet considering
the set of toolchain (versions) we want to support.
diff --git a/library/chacha20.c b/library/chacha20.c
index 5d2c3e5..28133a6 100644
--- a/library/chacha20.c
+++ b/library/chacha20.c
@@ -554,14 +554,14 @@
 int mbedtls_chacha20_self_test( int verbose )
 {
     unsigned char output[381];
-    size_t i;
+    unsigned i;
     int result;
 
     for ( i = 0U; i < 2U; i++ )
     {
         if ( verbose != 0 )
         {
-            mbedtls_printf( "  ChaCha20 test %zu ", i );
+            mbedtls_printf( "  ChaCha20 test %u ", i );
         }
 
         result = mbedtls_chacha20_crypt( test_keys[i],