Gold on back foot as Spain woes pressure euro