cpu: Remove redundant checks for USE_CPUMINING
opencl: Remove redundant checks for USE_OPENCL