mesa: fix array storage allocation bug