Add create_cached for rspamd_regexp.
Simplify cached regexp creation.