drm/gem: fix system crash when in logging

Signed-off-by: yzq <yzq@rock-chips.com>