Add an ItemStack sensitive version of Item.getItemAttributeModifiers().

This allows for example evaluating the NBT while generating the attribute map.