[visualizations] fix crash in goom fixes #12584

As suggested on trac ticket
http://trac.xbmc.org/ticket/12584

As i'm not know to the code i'm just throwing it out.