[PATCH 11/19] dm: core: Export a new function to read platdata