[BlackBerry] Upstream typedef of NativeImageSourcePtr and NativeImagePtr