Finite and infinite speed of propagation for porous medium equations with nonlocal pressure