gpu: ion: Abstract out secure heap restrictions

Multiple heaps may be allowed to allocate secure memory and
secure heaps and buffers. Create a function to determine if
a heap is permitted to do secure functions.

Change-Id: Ib3ec9b2d5620c18ba579ea56253235ca9be6d6a8
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
3 files changed