webrender_traits: Improve Debug for ApiMsg.
webrender_traits: Improve Debug for ApiMsg.

This hoists some code out of the match expression.

servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender