[PATCH 6.5 496/550] Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()