gbm: Fix crash when eglChooseConfig fails
gbm: Fix crash when eglChooseConfig fails

Crash introduced by 2bb939095c1d09c79dad5ab5da123ec77eb4ea61.

Also, stop calling eglChooseConfig twice.

Signed-off-by: Chad Versace <a557f7f75bf28dc19ac99107f5cc7cd6b3fbdb1a@intel.com>
(cherry picked from commit 0d71e456425ddf900073cd4408daa4c6751fbe51)

chadversary/waffle,dcbaker/waffle,waffle-gl/waffle,dcbaker/waffle,fjhenigman/waffle,evelikov/waffle,dcbaker/waffle,fjhenigman/waffle,evelikov/waffle,waffle-gl/waffle,waffle-gl/waffle,fjhenigman/waffle,waffle-gl/waffle,chadversary/waffle,evelikov/waffle,chadversary/waffle