GBRT checks if ``loss`` is in self.supported_loss

addresses #1085