gold futures finish near $940 as traders eye china