VS2010 compatibility fixes

Issue: 122

This change includes a couple of minor fixes to allow
libmodbus to be built using Visual Studio 2010, specifically:
1. Fix the decleration of rc in modbus_flush() to be in 'C' form
2. Replace #warning with #pragma message
3. Remove inline from bswap_16() and bswap_32()