zvol_create_minors(): check snapdev before traversing snapshots

This is to address issue #2217 scalability issues with zvol_create_minors(pool). The pull request has been re-submitted without changes following local (forked) repo reorg.