It's not the AT, it's its Ability. The attack says that you /deal/ damage to yourself. Resistance is applied for every attack involving any of the Active Pokemon (unless otherwise stated), so the damage you're dealing to yourself is reduced because of the Resistance since Golurk is a [F] Type.