[PATCH 4.9 41/78] cosa: Add missing kfree in error path of cosa_write