twain_32: Split out the sane specific parts from twain_32 code. Autoprobing via DG_CONTROL/DAT_IDENTITY/MSG_GET.