Fix vanilla items with TFC tags crashing when compared to those w/o tags.

Check that the item's NBTTagCompound is not null before trying to call its
methods.