check whether exists __sync_{sub, add}_and_fetch
Merge branch '__sync_check' of github.com:nori0428/msgpack-c into nori0428-__sync_check
add the same test as commit:764bfdcb9f for __gnu_cxx::__exchange_and_add

refs #8