dri2: dri2_make_current() fold multiple if blocks
dri2_make_current() has become long and convoluted. Address this by folding together multiple if blocks checking for the same variable. Cc: mesa-stable Signed-off-by:Luigi Santivetti <luigi.santivetti@imgtec.com> Reviewed-by:
Eric Engestrom <eric@engestrom.ch> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com> Part-of: <mesa/mesa!5707> (cherry picked from commit 6b12999e)