change the followings from MariaDB 10.0.7. refs #1964
  from thd->variables.auto_increment_offset to thd_get_autoinc()
  from thd->variables.auto_increment_increment to thd_get_autoinc()
  from thd->get_stmt_da()->message() to thd_get_error_message()
  from thd->get_stmt_da()->current_row_for_warning() to thd_get_error_row()
Add checking MSVC version. refs #1964
Merge branch 'master' of github.com:mroonga/mroonga