On extremal solutions of an elliptic boundary value problem involving discontinuous nonlinearities