opkg: import a patch to fix removing directories
sent upstream: http://lists.openwrt.org/pipermail/openwrt-devel/2022-May/038613.html
Directories are now owned by a particular package, which ensures their deletion in the event that a package leaves an empty directory during package removal.
Backported from: https://git.yoctoproject.org/opkg/commit/?h=opkg-0.2.x&id=3d697f6303f381a507f37f8d63129151d745dc6c
Fixes: https://github.com/openwrt/openwrt/issues/7519
Fixes: packages#576 (closed)
Edited by Josef Schlehofer