use BSWAP intrinsic in sha256.c

* other minor changes (style/comments)