gold hits record $1,045 on report of dollar's demise