Viscous dissipation in a flow with power law, temperature-dependent rheology: Application to channeled lava flows