0024456: Graphic3d_MaterialAspect - use static assert instead of runtime exception