adpcm: Store the trellis nodes in a heap instead of a sorted array