smarthttp: Fix race on err in bundle-URI tests
TestServer_PostUploadPackWithBundleURI
inadvertently reuses var err
in each test case, rather than creating a new variable, causing race
detector failures.
Explicitly declare err
within the test case to remove the race.