[PATCH v3 27/42] dm: core: Move flags to device-runtime info