Remove unneeded code now that image libraries use Vec<T>.
auto merge of #2387 : glennw/servo/image-fixups, r=Ms2ger