Fix missing return in GCC version of lookup_opcode()
Fix some -Wall warnings
Add --enable-stdcall-fixup for MinGW build