Use sha1 if md5 isn't available

With fips=1 enabled, the md5 hash is disabled, use sha1 instead.

Change-Id: I75507f20cb48f98ac5bf4f82f34bbf45922c6640
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>