avio: fix pointer type mismatches in avio_enum_protocols()