Use new pism::Vars methods.

Vars::get_2d_scalar(), Vars::get_2d_vector(), vars::get_2d_vector() and
Vars::get_3d_scalar() throw an exception if the dynamic cast fails. No
need for a SETERRQ() after each vars.get(...) call.