PowerPC Garbage Collector build fixes

This patch was created by @k0da and never upstreamed. Not sure why. I have to rebase this anyway for 3.6.0 because all patches fail for https://build.opensuse.org/package/show/Mono:Factory/mono-core at the moment.