nfc_nci_example: Switch to C++

Our custom UNUSED_ARGUMENT macro was redundant with the sys/defs.h
__unused macro, so it needed to be removed.  But rather than
switch to __unused, we opt to switch this code to C++, so we can
comment out parameter names to silence compiler warnings about
unused arguments.

The switch to C++ requires casting the result of calloc.  We
also change our function argument indentation per our C++
style rules while we're in here.

Test: Compiled and confirmed no compiler warnings.

Change-Id: Ibd0eef7787843597917c3e0e71bdd772f6e9e876
2 files changed