Fix places where nnapi_delegate_c_api.h contained C++ code that was not valid C code.
Fix places where nnapi_delegate_c_api.h contained C++ code that was not valid C code.

Add a test to verify that nnapi_delegate_c_api.h is valid C code.
