vcl: avoid crash with 'gen' backend around window icons.

Change-Id: I4b2bedb9ac641fcb96d09afb2e60fa2c6186fd6b