Ensure that when `wgpu_bindings::error::ErrorBuffer` is passed a message that doesn't fit within `ErrorBuffer::message_capacity`, we truncate the text to a proper UTF-8 boundary. Otherwise, we trip assertions that the UTF-8 is well-formed when we try to log messages to the console. Differential Revision: https://phabricator.services.mozilla.com/D216735