move NAL buffer handling into NAL_unit class