deps: fix bn_mul_mont on odd-sized BNs

fix #7704
I'm not seeing what the test accomplishes. Would it just cause the script to crash otherwise?