Merge "Only set SCHED_RESET_ON_FORK flag if the thread is using the default scheduling policy." into main