Fixed a bug in static array marshaling.