Thermal constriction resistance of arbitrary planar contacts with constant flux