Changed some of the logic for cs_graph and ellpack_graph edge iterators to bit-shifting magic instead of a conditional