Fix circular import error in cms.compat

Importing from django.contrib.auth.admin at module level resulted in an
ImportError in some context (wsgi, cms check). Hiding the import in a
function call fixes this.