Only throw BuildCancelledException from cancelling.

+review GRADLE-5088
Can cancel BuildAction execution when it calls to BuildController.