SampleProfile.cpp: Fix take #2. The issue was abuse of StringRef here.