configure: add support for multiarch layout in libgc search
Merge pull request #518 from promovicz/fix-multiarch-configure

configure: add support for multiarch layout in libgc search