fixed wrong use of pointer reference found by @tsahara; ref #2059
should always initialize header flags for pooled strings