pocl_devices array contained garbage with some setups, which sometimes caused segfault.