This was 'solved' in the last two commits.
OpenCL: remove max_constant_size(x, y, z) hint:

- this attribute is only supported by AMD and is not listed in the OpenCL
  specification