Theon calls Dagmer his uncle because they are slightly related. Dagmer comes from a Greyjoy bastard making him a relative of Theon.