Fix #110: returning static arrays in sret position

Static arrays should not be returned in registers but instead allocated by caller and passed to the function in sret position.