st/mesa: fix struct vs. class compilation warning