The Giants have famously struggled to lure free-agent hitters for years