scanner: fix suspect detection by correcting gradle compile commands list
Fixes the usual suspects detection by properly formatting the gradle compile command list and also handles build flavors with new command list
Closes #532 (closed)
Edited by Areeb Jamal