Comparison of steady-state and second-sound measurements of the Kapitza resistance