[libFuzzer] refactoring the code that checks the coverage. NFC

llvm-svn: 251074
2 files changed