doc: fix link to external page in PORTING

Remove a footnote that is not generating a proper link and add an inline
link to the mbed TLS referece for platform.h. This also fixes a warning
when running through recommonmark==0.6.0 because it is unable to parse the
old syntax.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
diff --git a/docs/PORTING.md b/docs/PORTING.md
index 61a4f8d..6bf0919 100644
--- a/docs/PORTING.md
+++ b/docs/PORTING.md
@@ -144,15 +144,14 @@
 needs to provide this pair of function.
 
 To configure the what functions are called when allocating/deallocating
-memory `mbed TLS` uses the following call [^1]:
+memory `mbed TLS` uses the following call:
 
 ```
 int mbedtls_platform_set_calloc_free (void *(*calloc_func)(size_t, size_t),
                                       void (*free_func)(void *));
 ```
 
-If your system already provides functions with compatible signatures, those
-can be used directly here, otherwise create new functions that glue to
-your `calloc/free` implementations.
-
-[^1]: ```https://tls.mbed.org/api/platform_8h.html```
+For reference see [mbed TLS platform.h](https://tls.mbed.org/api/platform_8h.html).
+If your system already provides functions with compatible signatures, those can
+be used directly here, otherwise create new functions that glue to your
+`calloc/free` implementations.