Fixed #23630 -- Made AlterModelTable rename auto-created M2M tables.