Bit-Flip Aware Data Structures for Phase Change Memory