Fix warning with MD/SHA ALT implementation

backport of 8b2641d

see #239
diff --git a/library/sha512.c b/library/sha512.c
index 4074d33..bd607e0 100644
--- a/library/sha512.c
+++ b/library/sha512.c
@@ -56,13 +56,13 @@
 #endif /* POLARSSL_PLATFORM_C */
 #endif /* POLARSSL_SELF_TEST */
 
+#if !defined(POLARSSL_SHA512_ALT)
+
 /* Implementation that should never be optimized out by the compiler */
 static void polarssl_zeroize( void *v, size_t n ) {
     volatile unsigned char *p = v; while( n-- ) *p++ = 0;
 }
 
-#if !defined(POLARSSL_SHA512_ALT)
-
 /*
  * 64-bit integer manipulation macros (big endian)
  */