PERF: speed up DataFrame.diff for contiguous numeric data (#64864)