Global attractor for a two-dimensional chemotaxis system with linear degradation and indirect signal production