Fix inconsistency in slang reflection code generation under debug builds

slang's reflection code generation produced inconsistent field declaration
and DeclarationNameInfo that set off an assertion failure inside clang
under debug builds.

This change fixes the following regressions due to the same assertion
failure: F_struct_array_copy P_struct_matrix

Bug: http://b/19545955
Test: RSTest, CTS, slang test.py on aosp_angler-eng

Change-Id: Icde809b3bf05d6f169b8caaa5e11c977279075f9
1 file changed