Improve typing rule for typed_copy_alloc_id on intptr.

2 jobs for ci/addr_as_int in 24 minutes and 56 seconds (queued for 3 seconds)