Move plane/stride calculation out of the individual pixfmt converters
Support different image height/buffer height during pixfmt conversions