Embattled Croatian food manufacturer and retailer Agrokor has secured a loan of EUR480m (US$536m) to "sustain" business operations amid a restructuring of the group.