Merge pull request #6571 from lioncash/rotate CommonFuncs: Generify rotation functions and move them to BitUtils.h