core: Zero-initialize wcore_info struct
core: Zero-initialize wcore_info struct

Without this, it's possible that the garbage memory returned by malloc
will have wcore_info::is_init == true, causing wcore_tinfo_init() to
skip initialization.  That in turn causes a likely segfault the first
time wcore_info::error is accessed.

Fixes piglit crashes introduced by commit 6fcbe52 ("cmake: Refactor
compiler flags into new module").

Reviewed-by: Chad Versace <a557f7f75bf28dc19ac99107f5cc7cd6b3fbdb1a@linux.intel.com>

maurossi/waffle,janesma/waffle,chadversary/waffle,yinquan529/waffle-gl-waffle,maurossi/waffle,evelikov/waffle,maurossi/waffle,fjhenigman/waffle,yinquan529/waffle-gl-waffle,fjhenigman/waffle,waffle-gl/waffle,waffle-gl/waffle,dcbaker/waffle,fjhenigman/waffle,evelikov/waffle,chadversary/waffle,waffle-gl/waffle,waffle-gl/waffle,evelikov/waffle,chadversary/waffle,dcbaker/waffle,yinquan529/waffle-gl-waffle,janesma/waffle,janesma/waffle,dcbaker/waffle