[PECOFF] Infer machine type from input object file

If /machine option is omitted, the linker needs to infer that from
input object files. This patch implements that.