Device-independent quantification of measurement incompatibility