gold, oil hold to gains after spain's budget plan