On the hydrostatic limit for thin film flow -- applications to thermosyphons