[openEuler-5.10 127/557] serial: core: Fix initializing and restoring termios speed