Improve texture units usage
Improve texture units usage in the GL renderer by:
- providing a fixed allocation to each texture unit in order to prevent conflicts. This for instance fixes a conflict between colour transforms and the wireframe debug mode.
- reverting the active unit to its default value right after use so that other functions can assume the default state.