Change NAL unit type defines to an enum and move to a header file for usage