of/sparc: fix build regression from of_device changes