Activate guards in avcodec_default_get_buffer. Patch by Michel Bardiaux,