LTM v0.40

Release of LibTomMath v0.40 today, fixes one overflow and a minor build issue. Otherwise, code stable and unchanged.