cavsdec: check ff_get_buffer() return value