rtmp: Don't try to do av_malloc(0)