[PATCH v2 26/37] dm: core: Move flags to device-runtime info