Use decodebin in the transcoder (decodebin2 doesn't exist in gst-1.0).
Remove bits of sha2 not used for sha256
Use the system's sha2 library if it's available.  Fixes #4217