st/dri: Support 24bit formats in dri2_allocate_buffer