Fix a subtlety that arises when seed is short

See https://github.com/jedisct1/libsodium/issues/187