Effects of gas compressibility and surface roughness on the flow in microfluidic devices