Text this: Separating altermagnetic and ferromagnetic effects in X-ray magnetic dichroism of rutile NiF2