avcodec/utils: av_lockmgr_register defines behavior on failure.