Jordan and Iraq nearing gas deal