Gold dips under $4,000 amid strong dollar