These devices should just relay data rather than changing it and the argument against having intermediary nodes doing things like modifying web pages is that this can, at the least, introduce performance and reliability problems.
Genetically modifying them is a way which doesn't think about removing the mosquitoes from the environment, but just changing them in a way which is most important to humans, and that is the thing no longer become disease transmitters.