Revert "typed arrays: fix build on sunos"

This reverts commit 35a137cf8dcec75fd4cc11bbd8eb22cc2c1d7ece.