Ticket #2540 Enable threading when using -c:v libx264rgb

Signed-off-by: Gunther Piez <gupiez@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>