Influence of thermomechanics in the catastrophic collapse of planar landslides