ide: fix hwif->gendev refcounting