Fix -Wshadow warnings

Backport of ea35666 and 824ba72

see #240
diff --git a/library/entropy_poll.c b/library/entropy_poll.c
index e0f9ae2..7fd254b 100644
--- a/library/entropy_poll.c
+++ b/library/entropy_poll.c
@@ -133,7 +133,7 @@
                            unsigned char *output, size_t len, size_t *olen )
 {
     FILE *file;
-    size_t ret;
+    size_t read_len;
     ((void) data);
 
 #if defined(HAVE_GETRANDOM)
@@ -158,8 +158,8 @@
     if( file == NULL )
         return( POLARSSL_ERR_ENTROPY_SOURCE_FAILED );
 
-    ret = fread( output, 1, len, file );
-    if( ret != len )
+    read_len = fread( output, 1, len, file );
+    if( read_len != len )
     {
         fclose( file );
         return( POLARSSL_ERR_ENTROPY_SOURCE_FAILED );