[PATCH 4.19 02/24] block: fix NULL pointer dereference in register_disk