Shader: Use vector instead of VLAs when reporting errors