add-patches-section: detect no patched functions