avformat/hlsenc: fix Explicit null dereferenced in hlsenc