Indirect stabilization of hyperbolic systems through resolvent estimates