bignum_core.py: Simplified result calculation for `BignumCoreShiftL`

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
diff --git a/scripts/mbedtls_dev/bignum_core.py b/scripts/mbedtls_dev/bignum_core.py
index 2abf77a..ff3fd23 100644
--- a/scripts/mbedtls_dev/bignum_core.py
+++ b/scripts/mbedtls_dev/bignum_core.py
@@ -122,7 +122,7 @@
         # Calculate if there is space for shifting to the left(leading zero limbs)
         mx = bignum_common.hex_digits_max_int(self.val_n, self.bits_in_limb)
         # If there are empty limbs ahead, adjust the bitmask accordingly
-        result = result & (self.r - 1) if mx == self.r else result & (mx - 1)
+        result = result & (mx - 1)
         return [self.format_result(result)]
 
     @property