Optimize GC: precalculate shiftBy

This little change caused an improvement of about 1% on the druntime/benchmark testsuite for me (Win32/Win64).