Oil gains with Gaza ceasefire talks in focus