fix: Compilation on RedHat 7

Guard CURLOPT_UPLOAD_BUFFERSIZE with preprocessor checks
16 jobs for !103 with jorgen.lind/fix_rh7_compilation in 25 minutes and 58 seconds (queued for 9 seconds)
latest merge request