libwally's API requires us to pass in NULL pointers if the array size is zero, so we update our array from wire-er to comply with this requirement [ Added fix to avoid tal_resize() of NULL -- RR ]