slcc: Fix array functions