keymaster: ipc: global improvements in optee_keymaster_ipc.cpp
This MR contains following changes:
- apply clang-format on optee_keymaster_ipc.cpp
- improve error handler
- remove unnecessary cast
- remove unnecessary brackets
- fix keymaster_error_message argument
- log warning when already connected
- optee_keymaster_connect: return coherent error code
- use android-base logging