linux-capture: Remove unused dependencies

Remove dependencies from cmake that are no longer needed due to the
port to xcb.
linux-capture: Refactor source data

Remove comments from and align members in the source data struct for the
xshm capture plugin.