Probability for primordial black holes in a multidimensional universe with nonlinear scalar curvature terms