erts: Fix PGO configure test for gcc
erts: Fix PGO configure test for gcc

The problem was that some on some platforms -fprofile-generate
does not imply -lgcov which means that it will not
link.

lrascao/otp,electricimp/otp,isvilen/otp,legoscia/otp,aboroska/otp,kvakvs/otp,jj1bdx/otp,erlang/otp,legoscia/otp,getong/otp,isvilen/otp,rlipscombe/otp,erlang/otp,getong/otp,mikpe/otp,RoadRunnr/otp,dumbbell/otp,legoscia/otp,rlipscombe/otp,rlipscombe/otp,potatosalad/otp,mikpe/otp,dumbbell/otp,kvakvs/otp,g-andrade/otp,vinoski/otp,uabboli/otp,emacsmirror/erlang,vinoski/otp,kvakvs/otp,dgud/otp,vinoski/otp,RoadRunnr/otp,getong/otp,emacsmirror/erlang,dgud/otp,uabboli/otp,rlipscombe/otp,legoscia/otp,electricimp/otp,vladdu/otp,mikpe/otp,getong/otp,dgud/otp,emacsmirror/erlang,vladdu/otp,ferd/otp,jj1bdx/otp,vinoski/otp,vladdu/otp,isvilen/otp,isvilen/otp,vinoski/otp,mikpe/otp,bsmr-erlang/otp,bsmr-erlang/otp,lrascao/otp,potatosalad/otp,vladdu/otp,electricimp/otp,vladdu/otp,electricimp/otp,potatosalad/otp,kvakvs/otp,emacsmirror/erlang,potatosalad/otp,mikpe/otp,electricimp/otp,isvilen/otp,jj1bdx/otp,rlipscombe/otp,emacsmirror/erlang,dumbbell/otp,RoadRunnr/otp,bsmr-erlang/otp,rlipscombe/otp,isvilen/otp,ferd/otp,ferd/otp,electricimp/otp,g-andrade/otp,aboroska/otp,aboroska/otp,vinoski/otp,RoadRunnr/otp,aboroska/otp,g-andrade/otp,mikpe/otp,dumbbell/otp,uabboli/otp,bsmr-erlang/otp,g-andrade/otp,lrascao/otp,aboroska/otp,vladdu/otp,legoscia/otp,getong/otp,ferd/otp,rlipscombe/otp,jj1bdx/otp,mikpe/otp,legoscia/otp,uabboli/otp,erlang/otp,dumbbell/otp,vinoski/otp,bjorng/otp,ferd/otp,getong/otp,bsmr-erlang/otp,aboroska/otp,emacsmirror/erlang,dumbbell/otp,g-andrade/otp,electricimp/otp,kvakvs/otp,g-andrade/otp,RoadRunnr/otp,lrascao/otp,mikpe/otp,potatosalad/otp,g-andrade/otp,jj1bdx/otp,RoadRunnr/otp,isvilen/otp,dumbbell/otp,isvilen/otp,bjorng/otp,aboroska/otp,rlipscombe/otp,lrascao/otp,emacsmirror/erlang,lrascao/otp,uabboli/otp,potatosalad/otp,kvakvs/otp,potatosalad/otp,jj1bdx/otp,vinoski/otp,ferd/otp,kvakvs/otp,getong/otp,getong/otp,uabboli/otp,electricimp/otp,g-andrade/otp,rlipscombe/otp,RoadRunnr/otp,RoadRunnr/otp,emacsmirror/erlang,erlang/otp,ferd/otp,isvilen/otp,rlipscombe/otp,jj1bdx/otp,dgud/otp,uabboli/otp,g-andrade/otp,dgud/otp,erlang/otp,mikpe/otp,lrascao/otp,electricimp/otp,bsmr-erlang/otp,potatosalad/otp,dgud/otp,emacsmirror/erlang,RoadRunnr/otp,potatosalad/otp,dumbbell/otp,bjorng/otp,dgud/otp,jj1bdx/otp,bjorng/otp,bsmr-erlang/otp,potatosalad/otp,legoscia/otp,dgud/otp,bsmr-erlang/otp,mikpe/otp,jj1bdx/otp,legoscia/otp,bsmr-erlang/otp,dgud/otp,erlang/otp,aboroska/otp,erlang/otp,bjorng/otp,dgud/otp,bjorng/otp,erlang/otp,aboroska/otp,kvakvs/otp,vinoski/otp,dumbbell/otp,lrascao/otp,vladdu/otp,kvakvs/otp,bjorng/otp,getong/otp,bjorng/otp,ferd/otp,legoscia/otp,getong/otp,uabboli/otp,lrascao/otp,bjorng/otp,vladdu/otp,emacsmirror/erlang,erlang/otp,isvilen/otp,ferd/otp,vladdu/otp,bjorng/otp,erlang/otp,g-andrade/otp,jj1bdx/otp,vinoski/otp,dumbbell/otp,uabboli/otp