Check for errors after reading a sample profile in llvm-profdata.