KAA-217: Fix invalid destructor for the endpoint public key bytes in kaa_profile.c