hls.c: check for null-pointer

When "#EXT-X-MEDIA-SEQUENCE:" was not found in the file, strstr return NULL. The sscanf read from the null-pointer which resulted in an error.