FindImageMagick: Allow including multiple times

This prevents attempting to create a duplicate target by adding an
`if(NOT TARGET ...)` check as in other modules.  The condition was
missed in commit 1bba218214 (FindImageMagick: Define targets for
specific components, 2023-01-20, v3.26.0-rc1~23^2).

Fixes: #25970
1 file changed