polarssl: support polarssl 1.3

This uses the polarssl-1.2-to-1.3 compatibility layer. Fully upgrading
would break support for PolarSSL 1.2, or introduce lots of #ifdef's.

Signed-off-by: Steffan Karger <steffan.karger@fox-it.com>