Fix #1101: Do not unbox results of raw JS calls in statement position.

This aligns with the semantics of generics.