Added position reset in ByteArray.clear()

As described in https://github.com/openfl/openfl-html5-dom/issues/56