ImageMagick: add optional support for FFTW

Closes #33776.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>