[remove_spikes] Fix unused typedef warning