check-static-inits: Filter out zero-length sections

When compiling with -O0, zero-sized constructors were showing up
and confusing the test.
1 file changed