libqti-perfd-client: Clean up

* Add and run clang-format
* Add newlines between functions
* Use elvis operator `?:` for return value

Change-Id: I920044df12c99d32ddd2ef3fb5edf24bcd0c7360
2 files changed