Add command line option for the thread model.

On Linux/PPC, just ignore the provided model. Only local-exec is supported.