Add and use RTEMS_CONTAINER_OF()
rbtree: Add and use RBTree_Compare_result
posix: Simplify key implementation