editors/libreoffice: Check for cups presence

Print support is disabled if CUPS is not detected at configure time.