On the Stability Properties of Nonnegative Solutions of Semilinear Problems with Convex or Concave Nonlinearity