avio: add avio_tell macro as a replacement for url_ftell