ac/nir: implement 16-bit pack/unpack opcodes