allow c99 flexible arrays for packed structures.
test for c99 flexible packed arrays
Merge upstream d840c081f8082e8b9e63fead5306643975a97bb3 to fix
UB as seen by a clang compiled as.