Added a check for buggy Mesa drivers

When running medInria on Linux machines that have Intel/ATI GPUs, Mesa drivers are often used, and can cause crashes. A workaround is to force software rendering in libGL, which does not seem to impact performance.

Fixes medInria/medInria-public#201