Check whether the nice() function is available

refs #7115