runtime: use right mask to extract type kind
runtime: use right mask to extract type kind

Cleanup from recent malloc changes.

LGTM=dvyukov
R=dvyukov
CC=golang-codereviews
https://codereview.appspot.com/120960043

webfd/go-zh,webfd/go-zh,d0f/go-zh,webfd/go-zh,bryanxu/go-zh,webfd/go-zh,bryanxu/go-zh,d0f/go-zh,bryanxu/go-zh,d0f/go-zh,d0f/go-zh,sanjosh/sanjos100-tipc,webfd/go-zh,sanjosh/sanjos100-tipc,sanjosh/sanjos100-tipc,bryanxu/go-zh,d0f/go-zh,d0f/go-zh,sanjosh/sanjos100-tipc,sanjosh/sanjos100-tipc,d0f/go-zh,d0f/go-zh,webfd/go-zh,bryanxu/go-zh,webfd/go-zh,webfd/go-zh,bryanxu/go-zh,sanjosh/sanjos100-tipc,bryanxu/go-zh,sanjosh/sanjos100-tipc,bryanxu/go-zh,sanjosh/sanjos100-tipc