[PATCH openEuler-1.0-LTS 2/3] video: fbdev: sm712fb: Fix crash in smtcfb_write()