Gold-backed exchange-traded funds (ETFs) recorded net inflows in July, reversing two consecutive months of outflows, as investors took advantage of a price pullback.