[ANativeWindow] Rename allocateBuffers to tryAllocateBuffers

Renaming was done in response to API feedback.

Bug: 148962594
Test: builds
Change-Id: I05b3e99800d967dda243b6e7af48f1b645909bdd
1 file changed