Bugfix: bfg_claim_any: Use a mutex to avoid races around device claims
hashbuster: Avoid signed char problems in return status check
Bugfix: Protect prev_cancelstate variables under console lock
Bugfix: swap32to?e: Ensure conditionals always have the same type
Merge commit 'cff4670' into bfgminer-3.10.x
Merge commit 'e87a9f4' into bfgminer-3.10.x
opencl: Silence warning about duplicate const qualifier
Merge commit '03597dc' into bfgminer-3.10.x
Merge commit '59a7de1' into bfgminer-3.10.x
Bugfix: Add config.h include to files missing it