Update CodeQL workflow to use ubuntu-18.04
#15868
Merged
CodeQL workflow to use ubuntu-18.04
#15868