tool_metalink: Support polarssl as digest provider

As the topic says :). This fixes the build failure when libmetalink and polarssl are used at the same time.