elan: Fix memory leak in elan_submit_image
elan_submit_image would modify the list of received frames in place, without freeing the associated memory. Fix this by using a local variable so that the list remains unmodified and is fully released by elan_dev_reset.