Hot-electron attenuation lengths in ultrathin magnetic films