Don't limit anvil stack size.

After the changes in c549609d anvils started incorrectly limiting their
inputs to single item stacks. Vanilla allows for full size stacks here and
this is useful for using materials to repair items so now we do too.

(cherry picked from commit 62ca8158fcc74e8685487eb4cb081394b3bce0ea)