peerdrive_util: fix calls to deprecated crypto:sha_*()

Erlang deprecated direct calls to specific hash functions. Instead it is
recommended to use the generic crypto:hash_*() functions.