[PATCH 6.1 203/885] s390/mem_detect: fix detect_memory() error handling