core: add iterator for the lists of registered demuxers and muxers