When linking libtorch_cpu.so, put AVX sources last in the input list (#40449)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/39600
Pull Request resolved: https://github.com/pytorch/pytorch/pull/40449
Reviewed By: VitalyFedyunin
Differential Revision: D22312501
Pulled By: colesbury
fbshipit-source-id: 4c09adb0173749046f20b84241d6c940b339ad77