Make ViewRootImpl#destroyHardwareResources thread-safe

Fixes: 25148144
Test: none
Change-Id: Ie719c5dd8bd7424c9dd2858d338c6cfc5c032d4f
1 file changed