Merge pull request #6542 from lioncash/cast BPStructs: Remove an unnecessary pointer cast in GetBPRegInfo