Quadrupole oscillation in a dipolar Fermi gas: Hydrodynamic versus collisionless regime