When panicking in sc_dup2, be more informative.