mesa: refactor GetActiveUniform