Rudimentary implementation of lm_mremap()
Fix bugs of rb-tree. The bug is about searching element with key no-less-than
or no-greater-than given key.