[PATCH openEuler-5.10-LTS-SP1 37/74] clk: bcm: rpi: Prevent out-of-bounds access