Fix a bug in LIPO profile merge -- check end marker properly