Allow for index dependent expressions in `private`
Created by: vchuravy
https://github.com/JuliaGPU/KernelAbstractions.jl/pull/175#issuecomment-756895724
Created by: vchuravy
https://github.com/JuliaGPU/KernelAbstractions.jl/pull/175#issuecomment-756895724