The easiest solution is probably to use CSS to set a background-image to the spinner element.
Using the Flarum javascript API it's also possible to replace the template for the spinner element, but I can't think of any existing code example to refer to.