barrick gold posts loss on dollar, low prices