The 2-factoriality of the O'Grady moduli spaces