limit memory via cgroups if available

	If cgroups are setup use them to limit memory if run via ulimit5.sh
	Change I029a3999 enables cgroups on imagescalers

Change-Id: Iaa83812230214e448d436078a06bdc2ae9ae1e38
Merge "limit memory via cgroups if available"