Remove duplicated mimalloc def (#23695)
### Description
Duo to merge conflicts, our cmake scripts accidentally have 3 copies of
the same mimalloc definitions. This PR removes the duplicated mimalloc
definitions from the cmake scripts.
### Motivation and Context