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