Use bitflag based has_flag() in a few places that need the speed.
Merge branch 'bitflags-4-fun-n-profit' of https://github.com/kevingranade/Cataclysm-DDA into kevingranade-bitflags-4-fun-n-profit