AppKit: more conversions to NS(U)Integer

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>