fix mp_to_radix remove an assignment which could overwrite the one with MP_VAL caused by a conflict between 2 recent commits - refactor with goto - return error if output-buffer is too small