gsh: add function tcsetpgrp.

N/A

tcsetpgrp:
returns the process group ID of the foreground process group
on the terminal associated to fd.

Signed-off-by: liminghao <liminghao@xiaomi.com>