Check whether functions have any lines associated before emitting coverage info for them. This isn't just a size/time saving, gcov may crash on these.