Sex offender pleads guilty to failing to register