The probability of avoiding consecutive patterns in the Mallows distribution