Fix Forge ore dictionary support for the Assembly Table

Fixes https://github.com/BuildCraft/BuildCraft/issues/531 .
Don't worry, I checked it and it has no errors and works as intended :D
Merge pull request #1265 from viliml/patch-5

Fix Forge ore dictionary support for the Assembly Table