[PATCH V5 04/11] coresight: Add helpers registering/removing both AMBA and platform drivers