curve: free buffers in reverse order to allocation

First destroy spinlocks, then free the encryption and decryption
buffers.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>