Fix NBTTagEndSerializer accessing a private constructor.