prima: fix kbuild endif

Change-Id: I9935da76d56f4310acd217374776176013ed26eb