Oil prices hold firm despite rise in gasoline stocks