cmake: fix the SelectOneLibrary macro, it added one } too many

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