gold futures close under $407, pressured by dollar rise