Curve classes on irreducible holomorphic symplectic varieties