[upgrade]Avoid loading SMF 2.1 files before checking php version

Use local copy of CleanRequest to avoid loading QueryString.php before checking php version.

Signed-off-by: Angelina Belle <angelinabelle1@hotmail.com>