droidmediacodec: Create ANativeWindow only if we are constructing a decoder
droidmediacodec: Add stride, slice height and I-frame interval keys