Change platform WorkDuration to match memory layout of HAL WorkDuration

Futureproof for possible memory-sharing schemes by ensuring variables
are laid out the same way in platform and HAL

Bug: 317367269
Test: atest PerformanceHintNativeTest
Test: atest PerformanceHintManagerTest
Change-Id: Id85f9cb84f4a2955c6e980fa9b608f847e9ef3b8
2 files changed