Fix parameter validation for mbedtls_mpi_lsb()

The MPI_VALIDATE_RET() macro cannot be used for parameter
validation of mbedtls_mpi_lsb() because this function returns
a size_t.

Use the underlying MBEDTLS_INTERNAL_VALIDATE_RET() insteaed,
returning 0 on failure.

Also, add a test for this behaviour.
diff --git a/library/bignum.c b/library/bignum.c
index 0d0d922..f968a0a 100644
--- a/library/bignum.c
+++ b/library/bignum.c
@@ -380,7 +380,7 @@
 size_t mbedtls_mpi_lsb( const mbedtls_mpi *X )
 {
     size_t i, j, count = 0;
-    MPI_VALIDATE_RET( X != NULL );
+    MBEDTLS_INTERNAL_VALIDATE_RET( X != NULL, 0 );
 
     for( i = 0; i < X->n; i++ )
         for( j = 0; j < biL; j++, count++ )