plot-bamstats: Use 0x1 rather than 0x2 flag to detect paired-end

sequencing. Prevent divison by zero with all reads unmapped.