[PATCH 4.9 28/45] tty: Fix ->pgrp locking in tiocspgrp()