Almost 10,000 devotees of the sea goddess Mazu have crossed a river in central Taiwan as part of a mass pilgrimage.