gold loses over $20 as dollar gains on spain