bn_exp.c: fix x86_64-specific crash with one-word modulus.

PR: #3397