Fixed TileEntityCrop cast  to TileEntityFarmland

Checks if the TileEntity is actualy TileEntityFarmland before casting.
Should fix the java.lang.ClassCastException crash
Merge pull request #393 from emris/TECropCastFix

Fixed TileEntityCrop cast  to TileEntityFarmland