[PATCH openEuler-5.10-LTS 18/30] mtd: physmap-core: Fix NULL pointer dereferencing in of_select_probe_type()