gfx: Inline a few commonly-used methods that were showing up in profiles
auto merge of #3832 : pcwalton/servo/display-list-inline, r=mrobinson

r? @mrobinson (or whoever)