Add deprecation warning for `warnings`.

It's a boolean value and should be presented as a predicate.
Merge pull request #1446 from rspec/deprecate-warnings-non-predicate

Add deprecation warning for `warnings`.