avformat/hlsplaylist: add int type of API ff_hls_write_file_entry