[PATCH openEuler-5.10 480/557] video: fbdev: sm712fb: Fix crash in smtcfb_write()