Silence compiler warnings in builds that do not have G4AMS enabled.