Issue #2009674 by pplantinga, Samvel, dmitrii: Replace theme() with drupal_render() in system module.