Critical behavior of mean-field hadronic models for warm nuclear matter