devel/mimalloc: fix install wiht WITH_DEBUG
If WITH_DEBUG is defined shared objects are installed with -debug
suffix. This not only fails to install but would also break consumers.
Patch CMakeLists.txt accordingly.
Reported by: koobs (via irc)
(cherry picked from commit 2cba286258af03d7880db549f64678919040c85c)