tbb: patch for compiler verison parsing

Fixes #22837.