i965: add helper for creating packing writemask