Bugfix: DevAPI: Make for_each_logical_proc work correctly
Merge commit '9e2b8f8' into bfgminer

Conflicts:
	deviceapi.h