Cast what mp_word to mp_digit to prevent warning.

Direct cast is possible due to the clamping of qhat value to MP_DIGIT_MAX a few lines earlier.