[PATCH 5.16 0275/1017] drivers/base/memory: add memory block to memory group after registration succeeded