Mecha fabricator material duplication exploit fix, issue #829

Fixes the bug which added an additional sheet to a stack of material if put into the exosuit/mecha fabricator, allowing for infinite duplication of any material which could be put there.

Also fixes the mech fabricator ignoring the maximum amount of sheets per stack, resulting in 70-sheet stacks of metal and so on.