hls: Fix hang when streaming reached EOF but playback buffer wasn't empty yet