lcov: Apply upstream patch for GCC >= 4.7 compatibility