[PATCH openEuler-1.0-LTS 07/36] serial: core: Fix initializing and restoring termios speed