Device discovery: Searching for GPUs first, then accelerators, then CPUs.

On Mac OS the CPU is returned first, but ViennaCL's routines don't work properly there.
Hence we pick GPUs per default, which is reasonable for most users.