Don't copy StateRef in operator==/!=
Don't copy StateRef in operator==/!=

This was an oversight

Also happens to speed up msvc debug mode

ShadowDancer/OpenApoc,ShadowDancer/OpenApoc,pmprog/OpenApoc,pmprog/OpenApoc,steveschnepp/OpenApoc,FranciscoDA/OpenApoc,Istrebitel/OpenApoc,steveschnepp/OpenApoc,FranciscoDA/OpenApoc,Istrebitel/OpenApoc,FranciscoDA/OpenApoc