Revert "libgralloc : Correct the usage of pmem ioctl"

This reverts commit 997b9a627702b29a76a02aff0ef78cedef843bb5.
Revert "pmem: Fix compile error due to wrong type used"

This reverts commit ea34ce215dfda54ab06c1dd9bd29b60859451052.
Revert "gralloc: stop the log spam"

This reverts commit f9b6923090ecad5458eb01f26d4b619c32b20314.
Revert "Fix building libmemalloc without ION"

This reverts commit 7e3dd274b42b8542312017df5342fd03eee30e4d.
Revert "Revert "display: Clean up gralloc""

This reverts commit 2e8b6287f852d930979722c454ba7bdc9b33c41a.
Revert "Revert "libgralloc: remove pid checks""

This reverts commit 7b13fde25bbc8cf041530a263810b117fa182c34.
Revert "Revert "libgralloc: Discontinue allocating FB buffers from carveout.""

This reverts commit 2f58d16265ceae950cd965380b04391e81649982.
Revert "Revert "libgralloc: Change ion_allocation_data fields.""

This reverts commit d275b1179f880cfbd89bbc517c972c19c6af984f.
Revert "Revert "gralloc: set ION_SECURE to flags instead of heap_mask during""

This reverts commit a809a262761e87bc0ff54691cfe0c2e382a8095f.
Revert "Revert "gralloc: Mark framebuffer as ION memory""

This reverts commit 976830332b32a76f8dda9788d498eb3ede7f9839.
Revert "Revert "gralloc : Correct misleading OUT_OF_MEMORY logs""

This reverts commit 2166510f28b69bbde2e16e5574520e4c8a7dfacc.