FIX: [imx] avoid potential segfault
Merge pull request #2 from xbmc-imx6/fixrendersegv

FIX: [imx] avoid potential segfault