Collisionless shock heating of heavy ions in SN 1987A