Issue #456: Remove rogue calls to drupal_* functions in core.

Fixes https://github.com/backdrop/backdrop-issues/issues/456.