vfs: move ima_file_free before releasing the file