Fixes wire flicker when changing gate redstone output

issue: https://github.com/BuildCraft/BuildCraft/issues/1357
Re-done for 6.1