[PATCH 5.4 007/244] tty: amiserial: fix TIOCSSERIAL permission check