Visual C++ support.

* ext/msgpack/sysdep_types.h (bool): Visual C++ in C mode does not have bool.
  define it just like the C99 way.

* others: narrow scoping is a good practice.  but suddly Visual C++ in C mode
  does not support declaring variables except the top of functions.