Team avoids arbitration with right-handed pitcher, who is expected to be the Giants' primary closer in 2013.