[PATCH 4.14 135/159] clk: fix a panic error caused by accessing NULL pointer