cbson: check return value from cbson_regex_new().