Oil heads for solid weekly gain on China demand hopes