Giants hand K Graham Gano three-year extension