vaapipostproc: add some missing locking

gst_vaapi_plugin_base_close() removed the raw caps that are used indirectly
in gst_vaapipostproc_transform_caps(). The usage is already protected by
the mutex.
This is needed when the pipeline is stopped during startup.
3 jobs for vaapipostproc-locking in 6 minutes and 19 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Preparation
passed #51000
manifest

00:00:22

 
  Build
passed #51001
build fedora x86_64

00:02:58

 
  Full Builds
passed #51002
build android arm64 api28

00:02:59