x264enc: fix crash on NULL caps when negotiation happens without a downstream peer

gst-launch-1.0 videotestsrc ! x264enc
x264enc: fix compiler warning

Compiler warns rightly about possibly uninitialized variable.