if its the bobber style sender like i'm thinking of you might be able to take it out and run the bobber on the other side, so it would read backwards for the gm, but correct for the mazda. (if mazda is really backwards of gm.)
now... there are several different kinds, but all i'm looking at is the bobber deal... if you can hang it off the other side, essentially you'd be reversing the ohm's.