[PATCH 4.9 074/145] clk: fix a panic error caused by accessing NULL pointer