Erdogan backs Baghdad's stance on territorial integrity