The Chinese tech giant has fell behind Samsung in global smartphone shipments during the third quarter.