Created rd_memctx_strdup function

Added a minor change in rdbits.h