Pull changes from heimdal's copy of libtommath

There's a modified copy of libtommath here:

https://github.com/heimdal/heimdal/tree/master/lib/hcrypto/libtommath

This is a merge of the modifications done to that copy.