MbedTLS: Use mbedtls_md5_ret() instead of mbedtls_md5()