Optimize raw SHA2 to be ready to latest driver (14.6beta).

Please, check if this improves performance using latest driver and deserves to be merged. Applies to:
- raw-sha256
- raw-sha512 
- xsha512