Fix a C struct diagnostic regression introduced by r187504 (PR17762).