ARM: socfpga: Pull PL310 clearing into common code