Merge pull request #4654 from gilles-peskine-arm/mpi_montmul-null-2.16

Backport 2.16: Fix several bugs with the value 0 in bignum