First Australian charged with recruiting foreign fighters for Syrian war loses court challenge