Update GwtRpcClientSerializer.java

Fix bracket logic by accounting for arrays which use [ as the leading part of the type encoding