Matter-induced modification of resonances at RHIC freezeout