avformat/url: check url root node when rel include double dot and trim double dot