Excellent - thank you so much.
Thank you for getting back to me. I originally installed gm using homebrew, but I reinstalled 1.3.30 from source to confirm that gives the same result, and then installed 1.4 snapshot-20180930 and can confirm that I no longer see the issue. So from my perspective the changes in the development version do indeed fix things.
Segmentation Fault when comparing images