[C] Include result slot in CraftInventoryAnvil.getItem .Fixes BUKKIT-2788

Currently the AnvilInventory throws an IndexOutOfBounds exception when attempting to access the result slot (2).  This commit overrides getItem to get the slot from the ResultInventory if the requested slot is beyond the size of the IngredientInventory.