profile: Improve error messages on bad GCDA files