hal: Fix compile issues for android U.

Also extend platform versions.

Change-Id: Ieb42602550dbcd8bff8c67d4568852244beb5985
3 files changed