The Role of Inverse Compton Scattering in Solar Coronal Hard X-Ray and ensuremathγ-Ray Sources