check whether exists __sync_{sub, add}_and_fetch

not checked for the presence of this function.