Import futex priority inheritance fixes from upstream.

Upstream commits from AOSP `kernel/goldfish`:

248523b64c19dec8c05f1a4105a5fd529e516fbe
52ecbbcb920fa3d529833b1d8ad97d4575c36bd9
3ebd3b945f017c39bc19d4b7a094feb674240853
234f6531471659d648369f6b27898a8cd97fe481