Merge "libstagefright: foundation: Add syntactic sugar to the cast." into lmp-dev