[PATCH 4.18 076/171] reset: hisilicon: fix potential NULL pointer dereference