lavc/utils: print error message on get_buffer related errors