Finite-size effects from giant magnons