stockpiles: properly initialize quality arrays

Props to @fricy for identifying this bug.