Fixed #21430 -- Warning raised when unpickling Models and QuerySet from different versions

Thanks @charettes @akaariai @loic for help.
I guess you missed by comment to check `pickled_version` first so that if it's `None`, we avoid `current_version = get_version()`