SWDEV-307184 - Move local size calculation
SWDEV-307184 - Move local size calculation

With COv5 local size calculation must occur before
runtime programs kernel arguments

Change-Id: I0726c6529bde69b8fcf5360aa83986cf84e04168

ROCm-Developer-Tools/ROCclr,ROCm-Developer-Tools/ROCclr