CivetServer.cpp: check array limit before access array

Fix for:

[src/CivetServer.cpp:153]: (style) Array index 'i' is used before
limits check.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>