A comparative study on metamagnetic transitions in half-doped Pr0.45La0.05Ca0.5MnO3 and Pr0.45Gd0.05Ca0.5MnO3 manganites