Support to check if two aim bitmaps have any intersecting bits.

Reviewer: @rlane