twain: Update twain to version 2.2

Includes the mingw and style fixes from
dc6c7e844a02a59133e96553000666be87b1a74e

Change-Id: Iad075c78b28b2b344a5e8e56c8614a283b4819a8