Cowboys' McGuire to undergo knee surgery