cmake: remove erroneous linking to pq

Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>