fix compilation errors on Visual Studio

I have separated the Visual Studio build errors from cmake (https://github.com/protobuf-c/protobuf-c/pull/155).

Here is the patch that allows compilation on Windows. It fixes 3 different (but simple) errors with following reasons:
  - use _inline for non-c99 msvc compiler
  - use char* instead of void* in pointer shifting
  - on non-gnuc family compilers DEPRECATED macros was undefined

(To build on Windows we still need some build system - autoconf+msvc are /almost/ incomaptible. I use separate cmake script in my fork and can make ``makefile.vc`` if asked)