Barometric pressure compensation for non-vented pressure sensors