AMDGPU: Add helper function for implicit parameter offsets.