Oil set for second weekly gain on brighter China outlook