folio-property-bounds: Return either boundary

depending on the new argument WHICH.
Fix some issues reported by checkdoc