libx265: Update API usage

Framerate is now a sane rational instead of an integer, and
inputDepth is changed to what it actually is.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libx265: Support 4:4:4

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libx265: Support SAR

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libx265: Properly handled dynamic linking with MSVC

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>