Brian Austin Green reveals how he found out ex-wife Megan Fox was dating Machine Gun Kelly