[PATCH 4/5] block modes: move Galois shifts to block-internal.h