[Android] Copy the right Device Capabilities API

It was copying the one for other platforms than Android.
Merge pull request #2274 from darktears/fix-xwalk-core

[Android] Copy the right Device Capabilities API