On the kernel theorem in hyperfunctions