StageFright: MPEG4Writer memory leak fix

memory leak introduced by return after CodecSpecificData allocation
but before adding it to the container.
The condition code moved before the allocation.