Fixed #21587 -- Added a deprecation warning for RedirectView.permanent.

https://code.djangoproject.com/ticket/21587
So I guess we run into a problem only in the case of `RedirectView.permanent` (uninstantiated). Seems somewhat unlikely, but possible.