apitest: Update to check for return value for allocPhys

Adds check for return value of zero and exit instead of going ahead with
map.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
1 file changed