Fix type cast for postgres array types.

Skip localized cast for postgres array types. (postgres_ext)