Large deviations for invariant measures of general stochastic reaction-diffusion systems