ucb: move APR dependencies to gb_LinkTarget__use_apr

Change-Id: I6768e5f2400f3020d85c48b80d58e13a3f6f07e9