[PATCH openEuler-5.10-LTS 483/559] video: fbdev: sm712fb: Fix crash in smtcfb_write()