fix Mako template rendering in render_template_to_string()

`context` is a `dict`, `dict.update` returns `None`, so `.render(**None)` explodes.

The problem was introduced in 5e3be31a. What suprised me was that render_template_to_string() is not used anywhere in Nikola and doesn't seem to have any automated tests since its introduction in 170577fc.