[PATCH 3/5] kdumpctl: Move file modification check logic in is_system_modified()