Gladys Berejiklian was ‘well aware of the dangers of ICAC’