Effect of positronium on the gamma-ray spectra and energy deposition in Type Ia supernovae