An Australian man is among thousands of alleged IS members being held in prison in Syria, with growing fears about the jail's security.