Update firmata for the Windows Developer Program for IoT

Made the following changes:
Added INTEL_GALILEO define for the latch.
Undefined conflicting define
Predeclared functions for non-gcc compilers.