reindent + optimize location of NALU tag type check