stream_analyzer: convert BGD comparison function to new helper macros
stream_analyzer: convert BGD comparison function to new helper macros

wenluhu/gammaray-android,cmusatyalab/gammaray,cmusatyalab/gammaray,cmusatyalab/gammaray,wenluhu/gammaray-android,wenluhu/gammaray-android