Fix warning about missing :end

Fixes:

    WARNING: deprecated syntax "x[i:]" at .../.julia/Graphs/src/connected_components.jl:130.
    Use "x[i:end]" instead.