sync: add reference counting to timelines

If a timeline is destroyed while fences still hold pts on it, the reworked
fence release handler can cause the timeline to be freed before all it's points
are freed.

Signed-off-by: Erik Gilling <konkers@android.com>
Change-Id: I1cd8ddb638eded7db9db446ff6b37f3dd165d6c4