meson: Add sha1 library options
This is a fairly simple minded conversion of the various sha1 library options from autotools to meson.
Not sure if we really want to re-add all of these, but the platform specific ones (e.g. CommonCrypto for darwin and CryptoAPI for Windows) are probably worth having.