Leary to undergo knee surgery, could miss season opener