Southampton striker Rickie Lambert has signed a two-year extension to his contract, the club have announced.