Fixed return type for PixelFormat.get_pixelformatname

Suggested by txasatonga