Suppression of superconductivity in the (La2.5-xGd0.5+x)CaBa3-xSrx(Cu1-yIny)7Oz system due to hole filling by In and its revival by hole doping with Ca