Recognition of enzymes lacking bound cofactor by protein quality control