Add zero id value check in Shader and ShaderProgram destructors