Improve DF field error correction speed

Use bitmasks to speed up the detection of valid and invalid ICAO DF
field types.