On the random version of the Erd\H{o}s matching conjecture