Fix #670: Allow Byref functions to return array param elements