Fail test execution when non-default config failure policy is used with a TestNG version that doesn't support it

+review REVIEW-5274