Add profiling to image decoding.
auto merge of #4301 : servo/servo/profile-image-decoding, r=glennw