[GHC] #8781: check if GNU nm is realy needed and if so let configure detect gnm