Cabinet documents reveal police warned NSW government about approving a plan to build city’s first casino in Darling Harbour