libstagefright: cast parameter as argument type

Summary:
Fix the following:
packages/inputmethods/PinyinIME/jni/android/com_android_inputmethod_pinyin_PinyinDecoderService.cpp:217:65: error: cannot
initialize a parameter of type 'jboolean *' (aka 'unsigned char *') with an rvalue of type 'bool'
  char16 *fixed_ptr = (char16*)(*env).GetStringChars(fixed_str, false);
                                                                ^~~~~
libnativehelper/include/nativehelper/jni.h:835:59: note: passing argument to parameter 'isCopy' here
    const jchar* GetStringChars(jstring string, jboolean* isCopy)
                                                          ^

frameworks/av/media/libstagefright/id3/ID3.cpp:606:13: error: no matching member function for call to 'setTo'
        id->setTo(framedata, len);
        ~~~~^~~~~
system/core/include/utils/String8.h:78:33: note: candidate function not viable: no known conversion from 'const uint16_t *'
(aka 'const unsigned short *') to 'const char *' for 1st argument
            status_t            setTo(const char* other, size_t numChars);
                                ^
system/core/include/utils/String8.h:79:33: note: candidate function not viable: no known conversion from 'const uint16_t *'
(aka 'const unsigned short *') to 'const char16_t *' for 1st argument
            status_t            setTo(const char16_t* other, size_t numChars);
                                ^
system/core/include/utils/String8.h:80:33: note: candidate function not viable: no known conversion from 'const uint16_t *'
(aka 'const unsigned short *') to 'const char32_t *' for 1st argument
            status_t            setTo(const char32_t* other,
                                ^
system/core/include/utils/String8.h:76:33: note: candidate function not viable: requires single argument 'other', but 2
arguments were provided
            void                setTo(const String8& other);
                                ^
system/core/include/utils/String8.h:77:33: note: candidate function not viable: requires single argument 'other', but 2
arguments were provided
            status_t            setTo(const char* other);
                                ^

Test Plan: verified

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D106