Photonic limiter based on exceptional point spectral degeneracies