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