Main-sequence progenitor configurations of the NN Ser candidate circumbinary planetary system are dynamically unstable