Various libstagefright fixes