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