Support variables in expansion of -fprofile-generate option (PR gcov-profile/47618).