avfilter/drawutils: Fix format validity check in ff_draw_init()