Revert "block: drop unnecessary blk_get/put_queue() in scsi_cmd_ioctl() and blk_get_tg()"

This reverts commit a46eef9ec7fe9844110858fde26d481df9385619.