Minor refactoring to avoid warning when a macro is not defined

Moved AFSecKeyGetData and AFSecKeyIsEqualToKey functions into the #ifdef \_AFNETWORKING_PIN_SSL_CERTIFICATES_ area where it is used, in order to avoid Unused Entity Issue warning when \_AFNETWORKING_PIN_SSL_CERTIFICATES_ is not defined.