gold falls for third day as dollar gains