Merge "pipe: Fix buffer offset after partially failed read" into msm-moto-3.10