examples/resample_audio: check av_samples_get_buffer_size() return code