[scripts] move shared image setup code to prepare_generic
[scripts] configure mesa through eselect mesa --auto
[scripts] do not hide the output of eselect opengl set