[SYCL][AMDGPU] Set amdgpu-flat-work-group-size for SYCL reqd_work_group_size (#22467)
AMDGPU verifier (added in 6794e31e894d) requires
amdgpu-flat-work-group-size function attribute whenever
reqd_work_group_size metadata is present. setFunctionDeclAttributes only
handled OpenCL's ReqdWorkGroupSizeAttr; SYCL uses
SYCLReqdWorkGroupSizeAttr which went through CodeGenFunction.cpp to emit
the metadata but never set the function attribute, triggering the
verifier error on amdgcn targets.
Fixes CodeGenSYCL/reqd-work-group-size.cpp and
check-work-group-attributes-match.cpp
CMPLRLLVM-76303
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>