Bug fix for AncientGates v1.6.4

Check entity itemStack is not null before setting contents of storage
Minecart.