awimage: support windows builds

Using cross-compiling, the following will compile a WIN32 version
of awimage (awflash does not build due to libusb dependency):

make CC=i586-mingw32msvc-gcc EXE='.exe'

Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>