Oxygen gas-sensing behaviour of a p-type glassy precursor for high Tc superconductors