Fix local import of select_figure_formats.

Fixes issue with setting InlineBackend.figure_format config value,
reported on mailing list.
Merge pull request #5318 from takluyver/selfigform-import

Fix local import of select_figure_formats