Remove AOSP reference to utils.mk

Remove function calls from AOSP code to utils.mk
& replace them with actual definition.

Change-Id: I2ca64995e54dcc535b5f69fe448e190615b74b94
CRs-fixed: 566287

Conflicts:
	Android.mk
	common.mk