Return None from get_graphics_metadata in headless compositor

This fixes servo -z.
Merge pull request #1339 from kmcallister/native_graphics_context

Return None from get_graphics_metadata in headless compositor