[Android] Fix the compile warning in XWalkPreferences.java.

The warning is "uses unchecked or unsafe operations". It's because
of the missed type specifier and type cast.