gh-38135: Use `magick` command instead of the deprecated `convert` if available
The `convert` command is deprecated and throws a warning at runtime.
URL: https://github.com/sagemath/sage/pull/38135
Reported by: Antonio Rojas
Reviewer(s): Dima Pasechnik
Committer
Release Manager