[PATCH 4.14 051/124] reset: hisilicon: fix potential NULL pointer dereference