Gardaí have told the court previously that they believed an attack on the Galway mosque was “imminent”