Let NbtTagFactory create factory instance when class loading.

Signed-off-by: yushijinhun <yushijinhun@gmail.com>