remove unnecessary CHAR_BIT != 8 check

mruby uses uint8_t which implies CHAR_BIT == 8.
Use Boolean macro in variable.c
Merge pull request #2494 from suzukaze/refactor-variable.c

Use Boolean macro in variable.c
fix typo with MRB_INT16; fix #2495
Time#to_i and Time#usec should care about mrb_int overflow on MRB_INT16; ref #2495
add MRB_API modifiers to mruby API functions
rename obsolete mrb_special_const_p to mrb_immediate_p
turn string obsolete functions into macros
fix conversion warnings

Those warnings are not enabled by default,
but getting rid of them doesn't hurt.
MSVC: add simple (v)snprintf implementation

_snprintf is not C99's snprintf!

This simple implementation, unlike _snprintf,
always null-terminates and returns the expected
return value (in most cases).
Other C99 behaviors (like format specifiers) require
adding a complete snprintf implementation.
Do we want or need that?

The same applies to vsnprintf (aka _vsnprintf).
change linkage of mrb_str_size to internal

Use RSTRING_LEN to get the length.
Merge pull request #2496 from cremno/remove-unnecessary-char_bit-check

remove unnecessary CHAR_BIT != 8 check
Merge pull request #2497 from cremno/fix-conversion-warnings

fix conversion warnings (in gc.c)
Merge pull request #2501 from cremno/static-mrb_str_size

change linkage of mrb_str_size to internal
Merge pull request #2498 from cremno/msvc-snprintf

MSVC: add simple (v)snprintf implementation
fix linkage of range_beg_len and mrb_range_beg_len
Merge branch 'master' of github.com:mruby/mruby
mruby-strip doesn't need mrbgems

Reduces executable size by more than 50% (409->171 KB).
Merge pull request #2502 from cremno/fix-range_beg_len-linkage

fix linkage of range_beg_len and mrb_range_beg_len
Merge branch 'master' of github.com:mruby/mruby