[PATCH openEuler-5.10 08/10] mtd: physmap-core: Fix NULL pointer dereferencing in of_select_probe_type()