remove unnecessary "const &" qualifier from T* parameters

e.g. convert code like
    foo(X * const & p)
to
    foo(X * p)
since the "const &" part of it adds nothing useful.

Change-Id: Icf5f2041517259e7b6e055b75ed1e0e77c547da5
cid#1226495 Uninitialized scalar field

Change-Id: I5f05fc312032c50639f147f27353aa560a69f65a
cid#1226493 Uninitialized scalar variable

Change-Id: I80cd8adccad492c7e4b71e6204c0059bfc003b83
cid#705674 and cid#705675 Resource leak

Change-Id: Id97e5de8433cc5dc9cb72c0d447ce6af50eb4918
cid#705673 Resource leak

Change-Id: Ib4cf76e941541b7f09b6a0dfbdab2a2604a0311d