block modes: move Galois shifts to block-internal.h