Bank of America has warned that gold could be a safe haven of last resort due to the risk of rising Treasuries.