New D = 10, N = 1 supergravity coupled to Yang-Mills supermultiplet and anomaly cancellations