Oil holds gains on China rebound, even as US crude stocks rise