Protect generated C++ headers from multiple includes

Change-Id: I1b110cab133366fcc320db31935d8eae454c06f8