Try openssl from Homebrew when calculating SHA-256 checksums

This makes checksums possible on Leopard where `shasum` is unavailable
and system openssl doesn't support `dgst -sha256`.

Fixes #656