Fix dynamic loading using RTLD_LOCAL
Add patches/link-modules-with-libimlib2.patch. Use the configure script --enable-rtld-local-support option to enable it.
Gbp-Dch: Full Closes: #1102954
This is the same patch as the one attached to the mentioned bug, use the patch or the MR as you prefer.