FBO to NvBuffer

Hi,
Please create NvBuffer in NvBufferLayout_Pitch for a try. The function cv::imwrite() should only support data layout in pitch linear.

May refer to this sample:
Trying to process with OpenGL an EGLImage created from a dmabuf_fd - #9 by DaneLLL
One minor bug in the sample:
Trying to process with OpenGL an EGLImage created from a dmabuf_fd - #12 by DaneLLL