ti: clocks: Fix do_enable_clocks() to accept NULL pointers as input parameters