Changed: Use *PixelFormat instead of unsafe.Pointer

Signed-off-by: Jacky Boen <aqiank@gmail.com>