add missing checks for utmpx struct fields