[PATCH 5.10 513/530] perf jit: Let convert_timestamp() to be backwards-compatible