crypto/cipher: avoid out of bounds error in CryptBlocks

Fixes issue 4699.

R=golang-dev, agl
CC=golang-dev
https://codereview.appspot.com/7231065