Stagefright fix to support HD2 hardware encoder