Oil gains on tighter supply prospects, Gaza ceasefire talks in focus