ocs2007: refactor sipe_ocs2007_status_from_legacy_availability()