ecere/gfx/drivers/XDisplayDriver: Fixed mistake in display null check