scripts: gcc-wrapper: actually parse warning messages

Change-Id: Ied9862be7601957aa6f3952a0f8970a6cbcb5563