[PATCH 3/5] tty: Fix ->pgrp locking in tiocspgrp()