Australia foils alleged terror attack for Gallipoli centenary