apply a workaround to stable mesa-10.0.4 from portage tree to fix https://bugs.freedesktop.org/show_bug.cgi?id=75723