[PATCH v3 1/5] util: check swtpm nvram-backend-{dir,file} capabilities