Change the pkcs5_pbkdf2_hmac deprecation approach
Change the pkcs5_pbkdf2_hmac deprecation approach

The shared part has now been extracted and will
be used regardless of the deprecation define.
Signed-off-by: Andrzej Kurek <f4c472ffe6ee3dcd17a8925cef48ace45ab528e9@arm.com>
ARMmbed/mbedtls,Mbed-TLS/mbedtls,ARMmbed/mbedtls,ARMmbed/mbedtls,Mbed-TLS/mbedtls,ARMmbed/mbedtls,Mbed-TLS/mbedtls,Mbed-TLS/mbedtls