rb: fix compilation issue

rb.h uses an inline definition of rb_remove which uses NULL.
since the standard declaration of NULL can be found in stdlib.h, we
need to include it.