Apply "alloc_size" attribute to av_alloc, av_realloc and av_mallocz