[PATCH v2 2/4] virpidfile: Refactor virPidFileReadPathIfAlive