dataservices: Makefile changes to enable CLANG

Update the makefiles to enable CLANG compilation. Also fix the
corresponding warnings and errors caused by CLANG enablement.

CRs-Fixed: 971746
Change-Id: I16dd64aaf219a59aba6a612002dab78c877cb8b9
4 files changed