Various fixes for libstagefrighthw