glx: add extra null check in getFBConfigs