Fixed #23322 -- Use resolved swappable model for dependency resolution during makemigrations