sha2.c: Changed address calculation to avoid type punning.

Use pointer arithmetics instead of taking the address of a
dereferenced array value to quiet warning about type punned pointer.

Change-Id: I6c833dafbf26502c8b4d132f21a733cc4f133bdb
1 file changed