titaniumsdk: Fix Titanium SDK 3.1 compatibility with the new Android SDK