Optimizing magnetoresistive sensor signal-to-noise via pinning field tuning