Effect of Space Charge on Linear Coupling and Gradient Errors in High-Intensity Rings