The spectral mean value for linear forms in twisted coefficients of cusp forms