-fprof-late: Don't add cost centres to static data.
-fprof-late: Don't add cost centres to static data.
We know check if a rhs is: a) workfree b) not a function.
If both are true there is no point in inserting a cc as it can be
statically allocated.
Fixes #24103