[RFC] dm: uclass: add functions to get device by platdata