A q-analog of Schläfli and Gould identities on Stirling numbers