Relax test to allow for attributes on other architectures. Caught by powerpc64-unknown-linux-gnu buildbot.