lib/rbtree: Fix crash condition with empty trees and rb_min/max()

These weren't properly checking the case of an empty tree

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
1 file changed