Bugfix: bytes_free: Set buf to NULL so the bytes_t is reusable
Merge commit '5b9ab72' into bfgminer
opencl: Major refactor, splitting up opencl_load_kernel into many new functions
opencl: Only try to patch BFI_INT when compiling a kernel from source
opencl: Only save kernel binary when we built from source
opencl: Remember results of global offset testing
opencl: Fail gracefully if clGetProgramInfo/CL_PROGRAM_NUM_DEVICES returns zero
Merge branch 'opencl_cleanup_201411' into bfgminer