OpenCL support refactoring (half-finished)

Update X264_BUILD, which should have been changed with the first patch.
Fix invalid memcpy in sliced-threads

Likely didn't actually break in practice, but memcpy with src==dst
is incorrect.