tabwin: Optimize icon list creation

Calculate icon width and height once.
Determine function for getting icon outside of loop.
2 jobs for !94 with optimize-icon_list in 2 minutes and 35 seconds (queued for 3 seconds)
latest merge request