fix pg-array->list for zero-dim (empty) arrays