Tests: Fix testCTestResourceSpec struct initialization for some compilers
Some compilers do not like the nested {{{}}}
member initialization
syntax, so use just {}
. GCC 4.8 warns about the latter, so add a
suppression.
Fixes: #20097 (closed)
Topic-rename: test-resource-spec-init-lists
Backport: release
Edited by Brad King