Fix jsnn_cmp bug.