GBE: Fix a potential segfault.
GBE: Fix a potential segfault.

And when we fail to compile a module, the fileName may be NULL, we can't
access it unconditionally.

Signed-off-by: Zhigang Gong <e04a7b9b70b1e4c6318cf117dcd1a9056e14b97a@intel.com>
Reviewed-by: "Yang, Rong R" <78759e37dc7114caed18f74e7515c5cb519dbf6d@intel.com>

zhenyw/beignet,zhenyw/beignet,freedesktop-unofficial-mirror/beignet,wdv4758h/beignet,wdv4758h/beignet,zhenyw/beignet,wdv4758h/beignet,freedesktop-unofficial-mirror/beignet,freedesktop-unofficial-mirror/beignet,wdv4758h/beignet,zhenyw/beignet,wdv4758h/beignet,zhenyw/beignet,freedesktop-unofficial-mirror/beignet