[mbed-tls] Exports from the shared libraries vs API