Mantel's Theorem for Random Graphs