Oil heads for weekly decline as US, Iran extend talks