[PATCH 5.16 0844/1017] video: fbdev: sm712fb: Fix crash in smtcfb_write()