CNBC's Jim Cramer quickly apologized after saying the "F word" during a broadcast of "Squawk on the Street" on Monday.