common/hooks: new post-extract hook: apply-patches (moved from xbps-src).