Change the profiler loop to use try_recv so that the task
will exit during shutdown instead of crashing trying to
recv on a closed port.
auto merge of #772 : larsbergstrom/servo/profile-chan-fix, r=jdm

Will exit during shutdown instead of crashing trying to recv on a closed port.