[PATCH 19/30] dm: core: Move flags to device-runtime info