Quantum ion acoustic shock waves in planar and nonplanar geometry